<?php

class HomepagePhoto extends AppModel {
  public $name = 'HomepagePhoto';
  public $validate = array(
      'HomepagePhoto.image_path'=>array(
              'rule'=>array('validImageFormat'),
              'message'=>'Specify a valid image (gif, jpg, png)',
              'allowEmpty'=>true,
                'required'=>false
      )
  );
   
  
}

?>
